import IAreaInsertOrUpdateForm from '@/model/form/area/IAreaInsertOrUpdateForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 新增/修改 区域
export default function areaInsertOrUpdateApi(form: IAreaInsertOrUpdateForm) {
  return $http.post<IResVO, AxiosResponse<IResVO>, IAreaInsertOrUpdateForm>(
    '/area/insertOrUpdate',
    form
  )
}
